/***************************************************
> Copyright (C) 2024 ==LENA== All rights reserved.
> File Name: 0628.c
> Author: lena
> Mail:lena_li@126.com
> Created Time: 2024年06月27日 星期四 19时48分25秒
***************************************************/

#include <stdio.h>
#include <string.h>
#include <stdlib.h>

int main(int argc,const char* argv[])
{
	int year=0,mouth=0;
int day=0,days=0;
printf("请输入年月日:\n");
scanf("%d%d%d",&year,&mouth,&day);
switch(mouth){
	case 12:days=days+30;
	case 11:days=days+31;
	case 10:days=days+30;
	case 9:days=days+30;
	case 8:days=days+31;
	case 7:days=days+30;
	case 6:days=days+31;
	case 5:days=days+30;
	case 4:days=days+31;
	case 3:days=days+28;
	case 2:days=days+31;
	case 1:days=day+days;
         break;
}
printf("%d\n",days);


return 0;
}
